package exsun.jt808.data.distribute_data.jt808;

import java.util.Date;

public class CircleAreaInfo {
    /**
     * 区域 ID
     */
    private int areaId;
    /**
     * 区域属性
     */
    private AreaProperty areaProperty;
    /**
     * 中心点纬度
     */
    private double centerLat;
    /**
     * 中心点经度
     */
    private double centerLng;
    /**
     * 半径
     * 单位为米（m），路段为该拐点到下一拐点
     */
    private int radius;
    /**
     * 起始时间
     * 若時間限制無效 则没有该字段
     */
    private Date beginTime;
    /**
     * 结束时间
     * 若時間限制無效 则没有该字段
     */
    private Date endTime;
    /**
     * 最高速度
     * 若速度限制無效 则没有该字段
     */
    private int maxSpeed;
    /**
     * 超速持续时间
     * 若速度限制無效 则没有该字段
     */
    private int overSpeedTime;

    /**
     * 夜间最高速度
     * @return
     */
    private int maxSpeedInNight;

    /**
     * 区域名称
     * @return
     */
    private String areaName;


    public int getAreaId() {
        return areaId;
    }

    public void setAreaId(int areaId) {
        this.areaId = areaId;
    }

    public AreaProperty getAreaProperty() {
        return areaProperty;
    }

    public void setAreaProperty(AreaProperty areaProperty) {
        this.areaProperty = areaProperty;
    }

    public double getCenterLat() {
        return centerLat;
    }

    public void setCenterLat(double centerLat) {
        this.centerLat = centerLat;
    }

    public double getCenterLng() {
        return centerLng;
    }

    public void setCenterLng(double centerLng) {
        this.centerLng = centerLng;
    }

    public int getRadius() {
        return radius;
    }

    public void setRadius(int radius) {
        this.radius = radius;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public int getMaxSpeed() {
        return maxSpeed;
    }

    public void setMaxSpeed(int maxSpeed) {
        this.maxSpeed = maxSpeed;
    }

    public int getOverSpeedTime() {
        return overSpeedTime;
    }

    public void setOverSpeedTime(int overSpeedTime) {
        this.overSpeedTime = overSpeedTime;
    }

    public int getMaxSpeedInNight() {
        return maxSpeedInNight;
    }

    public void setMaxSpeedInNight(int maxSpeedInNight) {
        this.maxSpeedInNight = maxSpeedInNight;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}
